<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class HtmlToolbarHelper</title>

	<script type="text/javascript" src="resources/combined.js?394153670"></script>
	<script type="text/javascript" src="elementlist.js?1800566221"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-abismo.html">abismo<span></span></a>
						<ul>
				<li><a href="package-abismo.admin.html">admin</a>
						</li>
				<li><a href="package-abismo.home.html">home</a>
						</li>
				<li><a href="package-abismo.images.html">images</a>
						</li>
				<li><a href="package-abismo.projects.html">projects</a>
						</li>
				<li><a href="package-abismo.Services.html">Services</a>
						</li>
				<li><a href="package-abismo.studio.html">studio</a>
						</li>
				<li><a href="package-abismo.tenders.html">tenders</a>
						</li>
				<li><a href="package-abismo.users.html">users</a>
						</li>
				<li><a href="package-abismo.videos.html">videos</a>
						</li>
				<li><a href="package-abismo.view.html">view<span></span></a>
						<ul>
				<li><a href="package-abismo.view.helpers.html">helpers</a>
						</li>
							</ul></li></ul></li>
				<li class="active"><a href="package-app.html">app<span></span></a>
						<ul>
				<li><a href="package-app.Config.html">Config<span></span></a>
						<ul>
				<li><a href="package-app.Config.Schema.html">Schema</a>
						</li>
							</ul></li>
				<li><a href="package-app.Model.html">Model<span></span></a>
						<ul>
				<li><a href="package-app.Model.debug.html">debug<span></span></a>
						<ul>
				<li><a href="package-app.Model.debug.kit.html">kit</a>
						</li>
							</ul></li></ul></li>
				<li class="active"><a href="package-app.View.html">View<span></span></a>
						<ul>
				<li class="active"><a href="package-app.View.Helper.html">Helper<span></span></a>
						<ul>
				<li class="active"><a href="package-app.View.Helper.debug.html">debug<span></span></a>
						<ul>
				<li class="active"><a href="package-app.View.Helper.debug.kit.html">kit<span></span></a>
						<ul>
				<li class="active"><a href="package-app.View.Helper.debug.kit.views.html">views<span></span></a>
						<ul>
				<li class="active"><a href="package-app.View.Helper.debug.kit.views.helpers.html">helpers</a>
						</li>
							</ul></li></ul></li></ul></li></ul></li></ul></li></ul></li>
				<li><a href="package-cake.html">cake<span></span></a>
						<ul>
				<li><a href="package-cake.debug.html">debug<span></span></a>
						<ul>
				<li><a href="package-cake.debug.kit.html">kit<span></span></a>
						<ul>
				<li><a href="package-cake.debug.kit.panels.html">panels</a>
						</li>
							</ul></li></ul></li></ul></li>
				<li><a href="package-debug.html">debug<span></span></a>
						<ul>
				<li><a href="package-debug.kit.html">kit<span></span></a>
						<ul>
				<li><a href="package-debug.kit.components.html">components</a>
						</li>
				<li><a href="package-debug.kit.controllers.html">controllers<span></span></a>
						<ul>
				<li><a href="package-debug.kit.controllers.components.html">components</a>
						</li>
							</ul></li>
				<li><a href="package-debug.kit.Lib.html">Lib</a>
						</li>
				<li><a href="package-debug.kit.models.html">models<span></span></a>
						<ul>
				<li><a href="package-debug.kit.models.behaviors.html">behaviors</a>
						</li>
							</ul></li>
				<li><a href="package-debug.kit.vendors.html">vendors</a>
						</li>
				<li><a href="package-debug.kit.views.html">views<span></span></a>
						<ul>
				<li><a href="package-debug.kit.views.helpers.html">helpers</a>
						</li>
							</ul></li></ul></li></ul></li>
				<li><a href="package-localized.html">localized</a>
						</li>
				<li><a href="package-Localized.html">Localized<span></span></a>
						<ul>
				<li><a href="package-localized.tests.html">tests<span></span></a>
						<ul>
				<li><a href="package-localized.tests.cases.html">cases<span></span></a>
						<ul>
				<li><a href="package-localized.tests.cases.libs.html">libs</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-Localized.Validation.html">Validation</a>
						</li>
							</ul></li>
				<li><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-FirePhpToolbarHelper.html">FirePhpToolbarHelper</a></li>
				<li class="active"><a href="class-HtmlToolbarHelper.html">HtmlToolbarHelper</a></li>
				<li><a href="class-SimpleGraphHelper.html">SimpleGraphHelper</a></li>
				<li><a href="class-ToolbarHelper.html">ToolbarHelper</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-app.View.Helper.debug.kit.views.helpers.html" title="Summary of app\View\Helper\debug\kit\views\helpers"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class HtmlToolbarHelper</h1>


	<div class="description">
	
<p>Application helper</p>

<p>Add your application-wide methods in the class below, your helpers will
inherit them.</p>

	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
Helper
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by" />
			<a href="class-AppHelper.html"><span>AppHelper</span></a>
			
			
			
		</dd>
		<dd style="padding-left:60px">
			<img src="resources/inherit.png" alt="Extended by" />
			<a href="class-ToolbarHelper.html"><span>ToolbarHelper</span></a>
			
			
			
		</dd>
		<dd style="padding-left:90px">
			<img src="resources/inherit.png" alt="Extended by" />
<b><span>HtmlToolbarHelper</span></b>			
			
			
		</dd>
	</dl>








	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-app.html">app</a>\<a href="package-app.View.html">View</a>\<a href="package-app.View.Helper.html">Helper</a>\<a href="package-app.View.Helper.debug.html">debug</a>\<a href="package-app.View.Helper.debug.kit.html">kit</a>\<a href="package-app.View.Helper.debug.kit.views.html">views</a>\<a href="package-app.View.Helper.debug.kit.views.helpers.html">helpers</a><br />

				<b>Copyright:</b>
				Copyright 2005-2010, Cake Software Foundation, Inc. (<a
href="http://cakefoundation.org">http://cakefoundation.org</a>)<br />
				<b>License:</b>
				<a href="MIT">License (http://www.opensource.org/licenses/mit-license.php)</a><br />
		<b>Located at</b> <a href="source-class-HtmlToolbarHelper.html#26-198" title="Go to source code">Plugin/DebugKit/View/Helper/HtmlToolbarHelper.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="makeNeatArray" id="_makeNeatArray">

		<td class="attributes"><code>
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_makeNeatArray">#</a>
		<code><a href="source-class-HtmlToolbarHelper.html#42-95" title="Go to source code">makeNeatArray</a>( <span>mixed <var>$values</var></span>, <span>integer <var>$openDepth</var> = <span class="php-num">0</span></span>, <span>integer <var>$currentDepth</var> = <span class="php-num">0</span></span>, <span>mixed <var>$doubleEncode</var> = <span class="php-keyword1">false</span></span> )</code>

		<div class="description short">
			
<p>Recursively goes through an array and makes neat HTML out of it.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Recursively goes through an array and makes neat HTML out of it.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$values</var></dt>
					<dd><code>mixed</code><br>$values Array to make pretty.</dd>
					<dt><var>$openDepth</var></dt>
					<dd><code>integer</code><br>$openDepth Depth to add open class</dd>
					<dt><var>$currentDepth</var></dt>
					<dd><code>integer</code><br>$currentDepth current depth.</dd>
					<dt><var>$doubleEncode</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="message" id="_message">

		<td class="attributes"><code>
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_message">#</a>
		<code><a href="source-class-HtmlToolbarHelper.html#97-106" title="Go to source code">message</a>( <span>string <var>$label</var></span>, <span>string <var>$message</var></span> )</code>

		<div class="description short">
			
<p>Create an HTML message</p>

		</div>

		<div class="description detailed hidden">
			
<p>Create an HTML message</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$label</var></dt>
					<dd><code>string</code><br>$label label content</dd>
					<dt><var>$message</var></dt>
					<dd><code>string</code><br>$message message content</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="panelStart" id="_panelStart">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_panelStart">#</a>
		<code><a href="source-class-HtmlToolbarHelper.html#108-117" title="Go to source code">panelStart</a>( <span>mixed <var>$title</var></span>, <span>mixed <var>$anchor</var></span> )</code>

		<div class="description short">
			
<p>Start a panel. make a link and anchor.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Start a panel. make a link and anchor.</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="table" id="_table">

		<td class="attributes"><code>
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_table">#</a>
		<code><a href="source-class-HtmlToolbarHelper.html#119-134" title="Go to source code">table</a>( <span>array <var>$rows</var></span>, <span>array <var>$headers</var> = <span class="php-keyword1">array</span>()</span> )</code>

		<div class="description short">
			
<p>Create a table.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Create a table.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$rows</var></dt>
					<dd><code>array</code><br>$rows Rows to make.</dd>
					<dt><var>$headers</var></dt>
					<dd><code>array</code><br>$headers Optional header row.</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="send" id="_send">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_send">#</a>
		<code><a href="source-class-HtmlToolbarHelper.html#136-164" title="Go to source code">send</a>( )</code>

		<div class="description short">
			
<p>send method</p>

		</div>

		<div class="description detailed hidden">
			
<p>send method</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="explainLink" id="_explainLink">

		<td class="attributes"><code>
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_explainLink">#</a>
		<code><a href="source-class-HtmlToolbarHelper.html#166-197" title="Go to source code">explainLink</a>( <span>string <var>$sql</var></span>, <span>mixed <var>$connection</var></span> )</code>

		<div class="description short">
			
<p>Generates a SQL explain link for a given query</p>

		</div>

		<div class="description detailed hidden">
			
<p>Generates a SQL explain link for a given query</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$sql</var></dt>
					<dd><code>string</code><br>$sql SQL query string you want an explain link for.</dd>
					<dt><var>$connection</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>Rendered Html link or '' if the query is not a select/describe<br />
				</div>




		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-ToolbarHelper.html#methods">ToolbarHelper</a></caption>
	<tr>
		<td><code>
			<a href="class-ToolbarHelper.html#___call">__call()</a>, 
			<a href="class-ToolbarHelper.html#___construct">__construct()</a>, 
			<a href="class-ToolbarHelper.html#_afterLayout">afterLayout()</a>, 
			<a href="class-ToolbarHelper.html#_getName">getName()</a>, 
			<a href="class-ToolbarHelper.html#_getQueryLogs">getQueryLogs()</a>, 
			<a href="class-ToolbarHelper.html#_readCache">readCache()</a>, 
			<a href="class-ToolbarHelper.html#_writeCache">writeCache()</a>
		</code></td>
	</tr>
	</table>











	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="helpers" id="$helpers">
		<td class="attributes"><code>
			public  
			array
		</code></td>

		<td class="name">
				<a href="source-class-HtmlToolbarHelper.html#28-33" title="Go to source code"><var>$helpers</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">array</span>(<span class="php-quote">'Html'</span>, <span class="php-quote">'Form'</span>)</code></td>
		<td class="description"><div>
			<a href="#$helpers" class="anchor">#</a>

			<div class="description short">
				
<p>helpers property</p>

			</div>

			<div class="description detailed hidden">
				
<p>helpers property</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="settings" id="$settings">
		<td class="attributes"><code>
			public  
			array
		</code></td>

		<td class="name">
				<a href="source-class-HtmlToolbarHelper.html#35-40" title="Go to source code"><var>$settings</var></a>
		</td>
		<td class="value"><code><span class="php-keyword1">array</span>(<span class="php-quote">'format'</span> =&gt; <span class="php-quote">'html'</span>, <span class="php-quote">'forceEnable'</span> =&gt; <span class="php-keyword1">false</span>)</code></td>
		<td class="description"><div>
			<a href="#$settings" class="anchor">#</a>

			<div class="description short">
				
<p>settings property</p>

			</div>

			<div class="description detailed hidden">
				
<p>settings property</p>


			</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Properties inherited from <a href="class-ToolbarHelper.html#properties">ToolbarHelper</a></caption>
	<tr>
		<td><code>
			<a href="class-ToolbarHelper.html#$_cacheEnabled"><var>$_cacheEnabled</var></a>
		</code></td>
	</tr>
	</table>





</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
